Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[breaking] Updated gRPC Platform API #2357

Merged
merged 33 commits into from
Oct 23, 2023

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Oct 6, 2023

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

A refactoring/rationalization of the gRPC Platform API.
This PR is draft to explore the soundness of the proposed changes.

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

Yes.

Other information

@cmaglie cmaglie force-pushed the refactor_platofrm_grpc_api branch 4 times, most recently from 52f5dc3 to 94413ed Compare October 10, 2023 13:09
@umbynos umbynos added this to the Arduino CLI v0.35.0 milestone Oct 12, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: 53 lines in your changes are missing coverage. Please review.

Comparison is base (eb8f2f2) 63.55% compared to head (8528612) 63.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2357      +/-   ##
==========================================
+ Coverage   63.55%   63.85%   +0.30%     
==========================================
  Files         205      206       +1     
  Lines       19289    19422     +133     
==========================================
+ Hits        12259    12402     +143     
+ Misses       5936     5925      -11     
- Partials     1094     1095       +1     
Flag Coverage Δ
unit 63.85% <85.07%> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
arduino/cores/packageindex/index.go 90.25% <100.00%> (-0.09%) ⬇️
arduino/cores/packagemanager/loader.go 64.55% <100.00%> (ø)
arduino/cores/packagemanager/profiles.go 58.69% <100.00%> (ø)
commands/board/listall.go 89.23% <100.00%> (-1.91%) ⬇️
commands/core.go 100.00% <100.00%> (ø)
commands/core/upgrade.go 81.81% <100.00%> (+1.17%) ⬆️
commands/daemon/daemon.go 26.86% <ø> (+0.25%) ⬆️
internal/cli/arguments/completion.go 89.56% <100.00%> (+0.18%) ⬆️
internal/cli/arguments/reference.go 100.00% <100.00%> (ø)
internal/cli/core/list.go 95.71% <100.00%> (+2.09%) ⬆️
... and 12 more

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alessio-perugini alessio-perugini force-pushed the refactor_platofrm_grpc_api branch 4 times, most recently from 9e18ebe to ffef84b Compare October 13, 2023 15:57
@alessio-perugini alessio-perugini marked this pull request as ready for review October 13, 2023 15:57
@cmaglie cmaglie force-pushed the refactor_platofrm_grpc_api branch from ffef84b to b37a73c Compare October 16, 2023 11:21
internal/cli/core/list.go Outdated Show resolved Hide resolved
@alessio-perugini alessio-perugini force-pushed the refactor_platofrm_grpc_api branch 3 times, most recently from 17371e8 to a8c5dff Compare October 16, 2023 15:11
@alessio-perugini alessio-perugini added topic: code Related to content of the project itself topic: gRPC Related to the gRPC interface labels Oct 16, 2023
@alessio-perugini alessio-perugini requested review from umbynos and MatteoPologruto and removed request for umbynos October 16, 2023 15:25
@alessio-perugini alessio-perugini added the status: on hold Do not proceed at this time label Oct 18, 2023
@alessio-perugini alessio-perugini force-pushed the refactor_platofrm_grpc_api branch from a8c5dff to ad08831 Compare October 19, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: on hold Do not proceed at this time topic: code Related to content of the project itself topic: gRPC Related to the gRPC interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants